import IJobInsertOrUpdateForm from '@/model/form/job/IJobInsertOrUpdateForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 新增/修改 岗位
export default function jobInsertOrUpdateApi(form: IJobInsertOrUpdateForm) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IJobInsertOrUpdateForm>(
    '/job/insertOrUpdate',
    form
  )
}
